package com.jd.basic.service;

import com.jd.user.dto.EmailRegisterDto;
import com.jd.user.dto.PhoneRegisterDto;
import com.jd.user.dto.SendEmailCodeDto;
import com.jd.user.dto.SendMobileCodeDto;

import java.io.IOException;

public interface VerifyCodeService {

    String imageCode(String imageCode) throws IOException;

    void sendEmailCode(SendEmailCodeDto sendEmailCodeDto);

    void phoneRegister(PhoneRegisterDto phoneRegisterDto);

    void emailRegister(EmailRegisterDto emailRegisterDto);


    void sendPhone(SendMobileCodeDto sendMobileCodeDto);

    void sendEmail(SendEmailCodeDto sendEmailCodeDto);
}
